package com.kyl.entity;

import com.kyl.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author WanJl
 * @version 1.0
 * @title
 * @description
 * @create 2024/12/4
 */

@Data
@NoArgsConstructor
@ApiModel(value = "岗位实体类", description = "对应数据库中的岗位表结构")
public class Post extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 部门编号
     */
    @ApiModelProperty(value = "部门编号")
    private String deptNo;

    /**
     * 职位编码：父部门编号+01【2位】
     */
    @ApiModelProperty(value = "职位编码：父部门编号+01【2位】")
    private String postNo;

    /**
     * 职位名称
     */
    @ApiModelProperty(value = "职位名称")
    private String postName;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value = "显示顺序")
    private Integer sortNo;

    /**
     * 数据状态（0正常 1停用）
     */
    @ApiModelProperty(value = "数据状态（0正常 1停用）")
    private String dataState;

}
